package com.house.mapper;

import com.house.pojo.Houseuser;
import com.house.pojo.HouseuserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HouseuserMapper {
    int countByExample(HouseuserExample example);

    int deleteByExample(HouseuserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Houseuser record);

    int insertSelective(Houseuser record);

    List<Houseuser> selectByExample(HouseuserExample example);

    Houseuser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Houseuser record, @Param("example") HouseuserExample example);

    int updateByExample(@Param("record") Houseuser record, @Param("example") HouseuserExample example);

    int updateByPrimaryKeySelective(Houseuser record);

    int updateByPrimaryKey(Houseuser record);
    
    Houseuser selectByuserId(String userId);
}